<style>
.noticia {
	padding:10px;
	height:115px;
}
a.titulo-noticia{
	color:#303EAC;
	text-decoration:none;
	font-family:'Lato', sans-serif;
	font-size:20px;
	padding-left:0px;
	margin-top:20px;
}
a.titulo-noticia:hover{
	color:#7F86FF;
}
.desc-noticia{
	color:#6E6161;
	font-family:'Lato', sans-serif;	
	font-size:15px;
	float:left;
	text-align:justify;
}
.desc-data{
	color:#4F4F4F;
	font-family:'Lato', sans-serif;	
	font-size:12px;
	padding-top:5px;
	display:block;
	clear:both;
}
.imgNoticia {
    float:left;	
	padding-right:10px; 
}
</style>

<?php 
$xml = simplexml_load_file("http://g1.globo.com/dynamo/tecnologia/rss2.xml");
$quant = 10;

for($i=0;$i<$quant;$i++) {
  $titulo = $xml->channel->item[$i]->title;
  $link = $xml->channel->item[$i]->link;
  $hora = $xml->channel->item[$i]->pubDate;
  $hora = explode(" ",$hora);//[1] - Dia [2] - Mês [3] - Ano [4] - Hora
  $descricao = $xml->channel->item[$i]->description;
  $descricao = str_replace("<br />", "", $descricao);
  $descricao = str_replace("<img", '<img class="imgNoticia"', $descricao);
  $categoria = $xml->channel->item[$i]->category;
  
  echo "<div class='noticia'>";  
  echo "<a class='titulo-noticia' href='".$link."'>".$titulo."</a>";
  echo "<br />";
  echo "<span class='desc-noticia'>".$descricao."</span>";
  echo "<br /><span class='desc-data'>".$hora[1]."/".$hora[2]."/".$hora[3]." às ".$hora[4]."</span><hr />";	
  echo "</div>";  
}

?>
